package com.miyu.system.controller.upLoadFile;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 文件上传
 *
 * @author longmy
 * @date 2022/04/29
 */
@RestController
@RequestMapping("/upLoadFile")
public class UpLoadFile {

    @RequestMapping("/upLoad")
    public String upLoad(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("文件上传");
        return "upLoad";
    }
}
